package com.fintech.third.model.facerecog;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 旷视身份证ocr识别返回参数
 * 
 * @author tangpw
 *
 */
public class OpenViewIdCardDto implements Serializable {

	private static final long serialVersionUID = 1L;

	private String race;

	private String name;

	private String time_used;

	private String gender;

	private String id_card_number;

	private String request_id;

	private String address;

	private String side;

	@JSONField(name="valid_date")
	private String validDate;
	
	@JSONField(name="issued_by")
	private String issued_by;
	
	private Birthday birthday;

	private Legality legality;

	@JSONField(name = "head_rect")
	private HeadRect headRect;

	public String getValidDate() {
		return validDate;
	}

	public void setValidDate(String validDate) {
		this.validDate = validDate;
	}

	public String getIssued_by() {
		return issued_by;
	}

	public void setIssued_by(String issued_by) {
		this.issued_by = issued_by;
	}

	public String getRace() {
		return race;
	}

	public void setRace(String race) {
		this.race = race;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTime_used() {
		return time_used;
	}

	public void setTime_used(String time_used) {
		this.time_used = time_used;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getId_card_number() {
		return id_card_number;
	}

	public void setId_card_number(String id_card_number) {
		this.id_card_number = id_card_number;
	}

	public String getRequest_id() {
		return request_id;
	}

	public void setRequest_id(String request_id) {
		this.request_id = request_id;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSide() {
		return side;
	}

	public void setSide(String side) {
		this.side = side;
	}

	public Birthday getBirthday() {
		return birthday;
	}

	public void setBirthday(Birthday birthday) {
		this.birthday = birthday;
	}

	public Legality getLegality() {
		return legality;
	}

	public void setLegality(Legality legality) {
		this.legality = legality;
	}

	public HeadRect getHeadRect() {
		return headRect;
	}

	public void setHeadRect(HeadRect headRect) {
		this.headRect = headRect;
	}

	public class Birthday implements Serializable {

		private static final long serialVersionUID = 1L;

		private String year;
		private String day;
		private String month;

		public String getYear() {
			return year;
		}

		public void setYear(String year) {
			this.year = year;
		}

		public String getDay() {
			return day;
		}

		public void setDay(String day) {
			this.day = day;
		}

		public String getMonth() {
			return month;
		}

		public void setMonth(String month) {
			this.month = month;
		}

	}

	public class Legality implements Serializable {
		private static final long serialVersionUID = 1L;

		@JSONField(name = "Edited")
		private String edited;

		@JSONField(name = "photocopy")
		private String Photocopy;

		@JSONField(name = "ID Photo")
		private String idPhoto;

		@JSONField(name = "Screen")
		private String screen;

		@JSONField(name = "Temporary ID Phot")
		private String temporaryIDPhot;

		public String getEdited() {
			return edited;
		}

		public void setEdited(String edited) {
			this.edited = edited;
		}

		public String getPhotocopy() {
			return Photocopy;
		}

		public void setPhotocopy(String photocopy) {
			Photocopy = photocopy;
		}

		public String getIdPhoto() {
			return idPhoto;
		}

		public void setIdPhoto(String idPhoto) {
			this.idPhoto = idPhoto;
		}

		public String getScreen() {
			return screen;
		}

		public void setScreen(String screen) {
			this.screen = screen;
		}

		public String getTemporaryIDPhot() {
			return temporaryIDPhot;
		}

		public void setTemporaryIDPhot(String temporaryIDPhot) {
			this.temporaryIDPhot = temporaryIDPhot;
		}

	}

	public class HeadRect implements Serializable {
		private static final long serialVersionUID = 1L;

		private Rt rt;
		private Lt lt;
		private Lb lb;
		private Rb rb;
		
		
		public Rt getRt() {
			return rt;
		}

		public void setRt(Rt rt) {
			this.rt = rt;
		}

		public Lt getLt() {
			return lt;
		}

		public void setLt(Lt lt) {
			this.lt = lt;
		}

		public Lb getLb() {
			return lb;
		}

		public void setLb(Lb lb) {
			this.lb = lb;
		}

		public Rb getRb() {
			return rb;
		}

		public void setRb(Rb rb) {
			this.rb = rb;
		}

		public class Rt implements Serializable{
			private static final long serialVersionUID = 1L;
			private String y;
			private String x;
			public String getY() {
				return y;
			}
			public void setY(String y) {
				this.y = y;
			}
			public String getX() {
				return x;
			}
			public void setX(String x) {
				this.x = x;
			}
			
		}

		public class Lt implements Serializable{
			private static final long serialVersionUID = 1L;
			private String y;
			private String x;
			public String getY() {
				return y;
			}
			public void setY(String y) {
				this.y = y;
			}
			public String getX() {
				return x;
			}
			public void setX(String x) {
				this.x = x;
			}
		}

		public class Lb implements Serializable{
			private static final long serialVersionUID = 1L;
			private String y;
			private String x;
			public String getY() {
				return y;
			}
			public void setY(String y) {
				this.y = y;
			}
			public String getX() {
				return x;
			}
			public void setX(String x) {
				this.x = x;
			}
		}

		public class Rb implements Serializable{
			private static final long serialVersionUID = 1L;
			private String y;
			private String x;
			public String getY() {
				return y;
			}
			public void setY(String y) {
				this.y = y;
			}
			public String getX() {
				return x;
			}
			public void setX(String x) {
				this.x = x;
			}
		}
	}
}
